﻿using System;
using SqlSugar;

namespace Work3.Models
{
        [SugarTable("assets")]
        public class assets {
            [SugarColumn(ColumnName = "owner")]
            public String Owner { get; set; }
            
            [SugarColumn(ColumnName = "num")]
            public int Num { get; set; }

            [SugarColumn(ColumnName = "unit")]
            public String Unit { get; set; }
            
            [SugarColumn(ColumnName = "name")]
            public String name { get; set; }
            
            [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
            public int Id { get; set; }
        }
}